﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{

    /// <summary>
    /// 退货表实体类
    /// </summary>

    public class Return
    {
        public Guid ReturnID { set; get; } //退货单编号
        public string SaleID { set; get; } //销售单编号
        public string SaleDetailID { set; get; }//销售明细编号
        public int Quantity { set; get; } //数量


        public Return ()
        {
            this.ReturnID = Guid.NewGuid(); //初始化全局唯一标识符
        }
        public Return (Guid returnID, string saleID, string saleDetailID, int quantity)
        {
            this.ReturnID = returnID;
            this.SaleID = saleID;
            this.SaleDetailID = saleDetailID;
            this.Quantity = quantity;
        }
    }
}
